//
//  MoreListController.h
//  XProgress
//
//  Created by Ondrej Rafaj on 20.8.09.
//  Copyright 2009 Home. All rights reserved.
//

#import <UIKit/UIKit.h>


@interface MoreListController : UIViewController {
	
	IBOutlet UITableView *funcTable;
	
	IBOutlet UIActivityIndicatorView *activityIndicator;
	CGSize cellSize;
	NSXMLParser *xmlParser;
	NSMutableArray *items;
	
	NSString *xmlPath;
	
	NSString *searchString;
	
	// a temporary item; added to the "stories" array one at a time, and cleared for the next one
	NSMutableDictionary *item;
	
	// it parses through the document, from top to bottom...
	// we collect and cache each sub-element value, and then save each item to our array.
	// we use these to track each current item, until it's ready to be added to the "stories" array
	NSString *currentElement;
	NSMutableString *currentTitle, *currentType, *currentImage, *currentVariable;
	
}


@property (nonatomic, retain) NSString *xmlPath;
@property (nonatomic, retain) IBOutlet UIActivityIndicatorView *activityIndicator;



@end
